package com.dengyafei.service;

import com.dengyafei.bean.ResumeEntity;
import com.dengyafei.domin.dto.ResumeAddDTO;
import com.dengyafei.domin.vo.*;
import com.dengyafei.result.RedisShareEntity;
import com.dengyafei.result.ResumeInfoEntity;

import java.util.List;
import java.util.zip.DataFormatException;

/**
 * @author 邓亚非
 */
public interface ResumeService {

    ResumeEntity queryByGid(ResumeQueryByGidVO resumeQueryByGidVO);

    Boolean sendInterviewEmail(SendEmailVO sendEmailVO) throws DataFormatException;

    Boolean sendApplyEmail(ResumeApplyVO resumeApplyVO);

    Boolean addShare(ShareVO shareVO);

    List<RedisShareEntity> queryAllShare();

    Boolean deleteShare(ResumeDeleteShareVO resumeDeleteShareVO);

    ResumeInfoEntity computedScore(Integer gid);

    ResumeEntity queryResumeByGid();

    Integer insertResume(ResumeAddVO resumeAddVO);

    Integer updateResume(ResumeUpdateVO resumeUpdateVO);
}
